<%@page import="com.xxb.entity.Type"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../base.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Simpla Admin</title>
<link rel="stylesheet" type="text/css" href="<%=basePath %>/images/index.css" media="all">
</head>
<body>
		<%@ include file="left.jsp" %>
		<!-- 右边 -->
			<div id="main-content">
				
				<div class="content-box">
					<div class="content-box-header">
						<h3 style="cursor: s-resize;">创建新产品</h3>
					</div>
					<div class="content-box-content" style="padding-bottom: 10px;">
						<div style="display: block;" class="tab-content default-tab">
							
							<form action="l_addproduct.jsp" method="post">
								<label>所属类别：</label>
								<select style="width:99%" name="tid">
									<option>--请选择--</option>
									<%
										List<Type> list = (List<Type>)request.getAttribute("typelist");
									 	for(Type type:list){
									 %>
									 <option value="<%=type.getId() %>"><%=type.getTypename() %></option>
									<%} %>
								</select>
								<label>产品名称：</label>
								<input type="text" name="productname" class="large-input"/>
								<label>产品编码：</label>
								<input type="text" name="code" class="large-input"/>
								<label>商品价格：</label>
								<input type="text" name="price" class="large-input"/>
								<label>市场价：</label>
								<input type="text" name="mprice" class="large-input"/>
								<label>产品信息：</label>
								<input type="text" name="information" class="large-input"/>
								<label>颜色：</label>
								<input type="text" name="color" class="large-input"/>
								<label>码号：</label>
								<input type="text" name="size" class="large-input"/>
								<label>产品内容：</label>
								<textarea style="height:300px" name="content"></textarea>
								<label>图片：</label>
								<input type="text" name="pic" class="large-input"/>
								
								
								<div>
									<input type="submit" class="button" value="保存" style="margin-top:20px"/>
								</div>
							</form>
						</div>
					</div> 
				</div>
				
				<div id="footer">
				<small> <!-- Remove this notice or replace it with whatever you want -->
						© Copyright 2011 达芙妮官方购物网 | Powered by <a href="http://www.kaishengit.com">idaphne</a> | <a href="#">Top</a>
				</small>
			</div><!-- End #footer -->
			
			
			
		</div>
			<!-- End Notifications -->
			
			
			
	
		

  

</body>
</html>
		
			

